<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="../../resources/cola-ui/semantic.css">
	<link rel="stylesheet" type="text/css" href="../../resources/cola-ui/cola.css">
	<script src="../../resources/jquery-2.1.3.js"></script>
	<script src="../../resources/cola-ui/3rd.js"></script>
	<script src="../../resources/cola-ui/semantic.js"></script>
	<script src="../../resources/cola-ui/cola.js"></script>
	<script src="../../resources/cola-ui/i18n/zh/cola.js"></script>

	<script type="text/javascript">
		cola(function(model) {
			model.describe("companies", {
				provider: {
					url: "//open-data.cola-ui.com/service/company/find",
					pageSize: 10
				}
			});
		});
	</script>
</head>
<body style="padding:1em;">
	<c-pager bind="companies"></c-pager>
	<c-listview bind="company in companies" currentPageOnly="true">
		<template>
			<li c-bind="company.name"></li>
		</template>
	</c-listview>
</body>
</html>